package com.onpositive.datamap.core.impl;

import com.onpositive.data.IPropertyConstants;
import com.onpositive.data.IPropertyMetadata;
import com.onpositive.data.diskstorage.AbstractValueAccessor;
import com.onpositive.datamap.core.IDataProperty;

public class SimpleProperty extends DataProperty implements IDataProperty{
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;

	public SimpleProperty(IPropertyMetadata meta,
			AbstractValueAccessor collection) {
		super(meta, collection);
	}
	

	@Override
	public String simpleType() {
		return IPropertyConstants.PROP_KIND_VALUE_SEQUENCE;
	}

	@Override
	public Object adaptFilterValue(String c) {
		return c;
	}

	@Override
	public IDataProperty clone(AbstractValueAccessor va) {
		return new SimpleProperty(meta, va);
	}
}